<?php
declare (strict_types = 1);

namespace app\mall\model;

use app\mall\enum\YesNoEnum;
use think\Model;

/**
 * @mixin Model
 */
class MallUserPointEvent extends MallBase
{
    //
    public function getEnableTextAttr($key, $data)
    {
        return (new YesNoEnum($data['enable']))->getZhName();
    }
}
